package com.yuyou.fn.tradingservice.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 *
 * 
 *
 */
@TableName(value = "lease_message")
public class LeaseMessage implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<LeaseMessage> createExample(){
		return new Example<LeaseMessage>(LeaseMessage.class);
	}

	/**  */
	@TableId(value = "lease_id")
	private Long leaseId;

	/**  */
	@TableField(value = "campus_id")
	private Long campusId;

	@TableField(value = "category_id")
	private Long categoryId;

	@TableField(value = "category_name")
	private String categoryName;

	/**  */
	@TableField(value = "campus_name")
	private String campusName;

	/**  */
	@TableField(value = "room_id")
	private Long roomId;

	/**  */
	@TableField(value = "room_name")
	private String roomName;

	/** 状态 0:未上架 1:上架 */
	private Integer status;

	/**  */
	@TableField(value = "product_id")
	private Long productId;

	/**1每周几，2连续几天 */
	@TableField(value = "date_type")
	private Integer dateType;

	/**  */
	@TableField(value = "week_num")
	private Integer weekNum;

	/** 单位  0：时，1天 */
	private String unit;

	/** 单位价格 */
	@TableField(value = "unit_price")
	private BigDecimal unitPrice;

	@TableField(value = "unit_num")
	private BigDecimal unitNum;


	/** 总价格 */
	@TableField(value = "total_price")
	private BigDecimal totalPrice;





	/** 开始时间  2017-05-11 00:00::00 */
	private Date start;

	/** 结束时间 2017-05-11 00:00::00 */
	private Date end;


	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	/** 该租赁时间否可以拆分购买，0不可以，1可以 */
	private Integer detachable;

	/** 每天开始时间 如08:00 */
	@TableField(value = "start_time")
	private String startTime;

	/** 每天结束时间 如：12:00 */
	@TableField(value = "end_time")
	private String endTime;

	/** 按小时-1，按天租0，按周租 1，按月租 2，按年租 3， 按天租4 */
	@TableField(value = "time_type")
	private Integer timeType;



	/** 具体时间描述 */
	@TableField(value = "time_desc")
	private String timeDesc;

	/**  */
	@TableField(value = "seller_id")
	private Long sellerId;

	/**  */
	@TableField(value = "seller_name")
	private String sellerName;

	@TableField(value = "seller_phone_no")
	private String sellerPhoneNo;

	@TableField(value = "whole_sale")
	private Integer wholeSale;

	@TableField(value = "sw_hour_price")
	private BigDecimal sWHourPrice;

	@TableField(value = "sw_day_price")
	private BigDecimal sWDayPrice;

	@TableField(value = "weekend_hour_price")
	private BigDecimal weekendHourPrice;

	@TableField(value = "weekend_day_price")
	private BigDecimal weekendDayPrice;

	@TableField(value = "working_hour_price")
	private BigDecimal workingHourPrice;

	@TableField(value = "working_day_price")
	private BigDecimal workingDayPrice;

	@TableField(value = "month_price")
	private BigDecimal monthPrice;

	@TableField(value = "year_price")
	private BigDecimal yearPrice;

	@TableField(value = "source_person_lease_ids")
	private String sourcePersonLeaseIds;

	@TableField(exist = false)
	private Date summerStartDate;

	@TableField(exist = false)
	private Date summerEndDate;

	@TableField(exist = false)
	private Date winterStartDate;

	@TableField(exist = false)
	private Date winterEndDate;

	@TableField(value = "profit_main_account_id")
	private Long profitMainAccountId;

	public Long getLeaseId() {
		return this.leaseId;
	}

	public void setLeaseId(Long leaseId) {
		this.leaseId = leaseId;
	}

	public Long getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(Long categoryId) {
		this.categoryId = categoryId;
	}

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public Long getCampusId() {
		return this.campusId;
	}

	public void setCampusId(Long campusId) {
		this.campusId = campusId;
	}

	public String getCampusName() {
		return this.campusName;
	}

	public void setCampusName(String campusName) {
		this.campusName = campusName;
	}

	public Long getRoomId() {
		return this.roomId;
	}

	public void setRoomId(Long roomId) {
		this.roomId = roomId;
	}

	public String getRoomName() {
		return this.roomName;
	}

	public void setRoomName(String roomName) {
		this.roomName = roomName;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Long getProductId() {
		return this.productId;
	}

	public void setProductId(Long productId) {
		this.productId = productId;
	}

	public Integer getDateType() {
		return this.dateType;
	}

	public void setDateType(Integer dateType) {
		this.dateType = dateType;
	}

	public Integer getWeekNum() {
		return this.weekNum;
	}

	public void setWeekNum(Integer weekNum) {
		this.weekNum = weekNum;
	}

	public String getUnit() {
		return this.unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public BigDecimal getUnitPrice() {
		return this.unitPrice;
	}

	public void setUnitPrice(BigDecimal unitPrice) {
		this.unitPrice = unitPrice;
	}

	public BigDecimal getUnitNum() {
		return unitNum;
	}

	public void setUnitNum(BigDecimal unitNum) {
		this.unitNum = unitNum;
	}

	public BigDecimal getTotalPrice() {
		return this.totalPrice;
	}

	public void setTotalPrice(BigDecimal totalPrice) {
		this.totalPrice = totalPrice;
	}



	public Date getStart() {
		return this.start;
	}

	public void setStart(Date start) {
		this.start = start;
	}

	public Date getEnd() {
		return this.end;
	}

	public void setEnd(Date end) {
		this.end = end;
	}


	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getDetachable() {
		return this.detachable;
	}

	public void setDetachable(Integer detachable) {
		this.detachable = detachable;
	}

	public String getStartTime() {
		return this.startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return this.endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public Integer getTimeType() {
		return this.timeType;
	}

	public void setTimeType(Integer timeType) {
		this.timeType = timeType;
	}



	public String getTimeDesc() {
		return this.timeDesc;
	}

	public void setTimeDesc(String timeDesc) {
		this.timeDesc = timeDesc;
	}

	public Long getSellerId() {
		return this.sellerId;
	}

	public void setSellerId(Long sellerId) {
		this.sellerId = sellerId;
	}

	public String getSellerName() {
		return sellerName;
	}

	public void setSellerName(String sellerName) {
		this.sellerName = sellerName;
	}

	public String getSellerPhoneNo() {
		return sellerPhoneNo;
	}

	public void setSellerPhoneNo(String sellerPhoneNo) {
		this.sellerPhoneNo = sellerPhoneNo;
	}

	public Integer getWholeSale() {
		return wholeSale;
	}

	public void setWholeSale(Integer wholeSale) {
		this.wholeSale = wholeSale;
	}

	public BigDecimal getsWHourPrice() {
		return sWHourPrice;
	}

	public void setsWHourPrice(BigDecimal sWHourPrice) {
		this.sWHourPrice = sWHourPrice;
	}

	public BigDecimal getsWDayPrice() {
		return sWDayPrice;
	}

	public void setsWDayPrice(BigDecimal sWDayPrice) {
		this.sWDayPrice = sWDayPrice;
	}

	public BigDecimal getWeekendHourPrice() {
		return weekendHourPrice;
	}

	public void setWeekendHourPrice(BigDecimal weekendHourPrice) {
		this.weekendHourPrice = weekendHourPrice;
	}

	public BigDecimal getWeekendDayPrice() {
		return weekendDayPrice;
	}

	public void setWeekendDayPrice(BigDecimal weekendDayPrice) {
		this.weekendDayPrice = weekendDayPrice;
	}

	public BigDecimal getWorkingHourPrice() {
		return workingHourPrice;
	}

	public void setWorkingHourPrice(BigDecimal workingHourPrice) {
		this.workingHourPrice = workingHourPrice;
	}

	public BigDecimal getWorkingDayPrice() {
		return workingDayPrice;
	}

	public void setWorkingDayPrice(BigDecimal workingDayPrice) {
		this.workingDayPrice = workingDayPrice;
	}

	public BigDecimal getMonthPrice() {
		return monthPrice;
	}

	public void setMonthPrice(BigDecimal monthPrice) {
		this.monthPrice = monthPrice;
	}

	public BigDecimal getYearPrice() {
		return yearPrice;
	}

	public void setYearPrice(BigDecimal yearPrice) {
		this.yearPrice = yearPrice;
	}

	public String getSourcePersonLeaseIds() {
		return sourcePersonLeaseIds;
	}

	public void setSourcePersonLeaseIds(String sourcePersonLeaseIds) {
		this.sourcePersonLeaseIds = sourcePersonLeaseIds;
	}

	public Date getSummerStartDate() {
		return summerStartDate;
	}

	public void setSummerStartDate(Date summerStartDate) {
		this.summerStartDate = summerStartDate;
	}

	public Date getSummerEndDate() {
		return summerEndDate;
	}

	public void setSummerEndDate(Date summerEndDate) {
		this.summerEndDate = summerEndDate;
	}

	public Date getWinterStartDate() {
		return winterStartDate;
	}

	public void setWinterStartDate(Date winterStartDate) {
		this.winterStartDate = winterStartDate;
	}

	public Date getWinterEndDate() {
		return winterEndDate;
	}

	public void setWinterEndDate(Date winterEndDate) {
		this.winterEndDate = winterEndDate;
	}

	public Long getProfitMainAccountId() {
		return profitMainAccountId;
	}

	public void setProfitMainAccountId(Long profitMainAccountId) {
		this.profitMainAccountId = profitMainAccountId;
	}
}
